import request from '@/utils/request'

// 查询后台更新记录列表
export function listBackendUpdateLog(query) {
  return request({
    url: '/fun/backendUpdateLog/list',
    method: 'get',
    params: query
  })
}

// 查询后台更新记录详细
export function getBackendUpdateLog(id) {
  return request({
    url: '/fun/backendUpdateLog/' + id,
    method: 'get'
  })
}

// 新增后台更新记录
export function addBackendUpdateLog(data) {
  return request({
    url: '/fun/backendUpdateLog',
    method: 'post',
    data: data
  })
}

// 修改后台更新记录
export function updateBackendUpdateLog(data) {
  return request({
    url: '/fun/backendUpdateLog',
    method: 'put',
    data: data
  })
}

// 删除后台更新记录
export function delBackendUpdateLog(id) {
  return request({
    url: '/fun/backendUpdateLog/' + id,
    method: 'delete'
  })
}
